import { axios } from '@/utils/request'

/**
 * 查询标准行业表配置
 *
 * @author cdx
 * @date 2022-10-17 10:51:20
 */
export function industryPage (parameter) {
  return axios({
    url: '/industry/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 标准行业表配置列表
 *
 * @author cdx
 * @date 2022-10-17 10:51:20
 */
export function industryList (parameter) {
  return axios({
    url: '/industry/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加标准行业表配置
 *
 * @author cdx
 * @date 2022-10-17 10:51:20
 */
export function industryAdd (parameter) {
  return axios({
    url: '/industry/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑标准行业表配置
 *
 * @author cdx
 * @date 2022-10-17 10:51:20
 */
export function industryEdit (parameter) {
  return axios({
    url: '/industry/edit',
    method: 'post',
    data: parameter
  })
}
export function industrySelectTree (parameter) {
  return axios({
    url: '/industry/selectTree',
    method: 'post',
    data: parameter
  })
}
/**
 * 删除标准行业表配置
 *
 * @author cdx
 * @date 2022-10-17 10:51:20
 */
export function industryDelete (parameter) {
  return axios({
    url: '/industry/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出标准行业表配置
 *
 * @author cdx
 * @date 2022-10-17 10:51:20
 */
export function industryExport (parameter) {
  return axios({
    url: '/industry/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
